package com.red.star.wechat.data.mappers;

import com.red.star.wechat.data.core.base.MyMapper;
import com.red.star.wechat.data.entity.ViewLog;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ViewLogMapper extends MyMapper<ViewLog> {

    /**
     * 查询日志记录
     * @param preId 开始ID
     * @param endId 结束ID
     * @param count 数量
     * @return
     */
    List<ViewLog> listViewLog(@Param("preId") Long preId, @Param("endId") Long endId, @Param("count") Integer count);

}
